package com.lyeducation.enums;

import lombok.Getter;

/**
 * @EnumName PayStatusEnum
 * @Description
 * @Author Sky1in3
 * @Date 2019/1/11 1:43
 * @Version 1.0
 */
@Getter
public enum PayStatusEnum implements CodeEnum {
    WAIT(0, "等待支付"),
    SUCCESS(1, "支付成功"),
    EXECUTING(2, "支付中"),
    REFUNDED(3, "已退款"),
    REFUND_WAIT(4, "等待退款"),
    REFUND_REFUSE(5, "拒绝退款");

    private Integer code;
    private String message;

    PayStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
